Skip to content

Feature/showcases automation#902

Open
kapilhadoltikar wants to merge 4 commits intofinos:masterfrom
kapilhadoltikar:feature/showcases-automation
Open

Feature/showcases automation#902
kapilhadoltikar wants to merge 4 commits intofinos:masterfrom
kapilhadoltikar:feature/showcases-automation

Conversation

@kapilhadoltikar
Copy link

Summary

This PR introduces a "Sidecar" workflow designed to keep the legend.engine.version in showcases/pom.xml synchronized with the latest Legend Engine releases.

Workflow Architecture

  1. Detection: Triggers on successful Engine releases or manual dispatch.
  2. Polling: Waits up to 120 minutes for Maven Central availability to prevent build flakes.
  3. Verification: Executes mvn clean compile to ensure compatibility.
  4. Delivery: Automatically opens/updates a PR with the version bump.

Why this is helpful

It eliminates the manual toil of updating the showcases every time the engine releases, ensuring that users always see examples compatible with the latest engine features.


Verified with a manual run using workflow_dispatch.

Signed-off-by: kapilh 146179927+kapilhadoltikar@users.noreply.github.com

- Adds "Sidecar" workflow to track and update Legend Engine releases.
- Implements idempotency check against showcases/pom.xml.
- Adds Maven Central synchronization polling (120 min timeout) to ensure artifact availability.
- Automates version property updates via versions-maven-plugin.
- Includes build verification (compile) before PR creation.
- Automates branch creation and PR generation using GitHub CLI.

Signed-off-by: kapilh <146179927+kapilhadoltikar@users.noreply.github.com>
Signed-off-by: kapilh <146179927+kapilhadoltikar@users.noreply.github.com>
@kapilhadoltikar kapilhadoltikar requested a review from a team as a code owner February 24, 2026 16:47
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 24, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: kapilhadoltikar / name: Kapil Hadoltikar (0cb426e)

Signed-off-by: kapilh <146179927+kapilhadoltikar@users.noreply.github.com>
@kapilhadoltikar
Copy link
Author

Hi everyone,
I’ve just pushed a commit to remove a leftover TODO and finalize this chore. The PR is now clean and ready for review. Thank you!

@kapilhadoltikar
Copy link
Author

Hi finos/legend maintainers,

I’ve updated this PR to stay synced with the latest master. I noticed there are currently two open manual PRs for the Legend Engine version bump.

  • This PR addresses the TODO in the codebase by introducing a workflow that automates this exact process. It handles the version detection, Maven Central polling, and compatibility verification automatically.
  • Once this is merged, it should eliminate the need for these manual updates in the future.

I’m available to make any adjustments to the workflow logic if needed.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant